<%@ page contentType="text/html;charset=utf-8" %>
<%@ page import="java.util.*" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>DSDOWN 3DS DS DSI GB GBA WII WIIU Nintendo 任天堂 游戏 资讯 攻略 发售 下载</title>
<meta name="description" content="" />
<meta name="keywords" content="DSDOWN 3DS DS DSI GB GBA WII WIIU Nintendo 任天堂 游戏 攻略 发售 资讯 " />
<link href="style/index.css" rel="stylesheet" type="text/css" />
<style type="text/css">
</style></head>

<script src="script/jQuery.js" type="text/javascript"></script>
<script src="script/functions.js" type="text/javascript"></script>

<body>

<div class="index">

<!-- 主页面 -->
<div class="main">

	<%@ include file="header.jsp" %>
	
	<%@ include file="stage.jsp" %>
	
	<div class="header_shadow" style="margin-top:-20px;"></div>
	
	<!-- 外框阴影 -->
	<div class="center_shadow">
	  <div class="content">
	  
      <!-- 左侧栏 -->
      <div class="leftdiv">
        <!-- 导航栏 -->
        <div class="nav_menu">
			<a href="/index.do">资讯</a>
			<a href="/games.do">图鉴</a>
			<a href="/retail.do">发售表</a>
			<span>实验室</span>			
		</div>
        <!-- navigate -->
		
		<!-- 主显示区域 -->
		<div class="mainarea">	
			<!-- 实验室 -->
			<div>
			
			<% List<java.util.Map> laboratory = (List<java.util.Map>)request.getAttribute("laboratory"); %>
			<% for (int i=0;i<laboratory.size();i++){ %>
			
			<% if (i%2==0){ %><ul><li class="inlineli"><% } %>
			
				<a href="#" class="lab_item" style="float:left">
					<div>
						<div class="lab_item_left" >
							<img src="lab/icons/fc_emu.png"/>
						</div>
						<div class="lab_item_right">
							<big><%= laboratory.get(i).get("laboratory_name") %></big>
							<span><%= laboratory.get(i).get("laboratory_create_time") %></span>									
							<small><%= laboratory.get(i).get("laboratory_intro") %></small>
						</div>
					</div>
				</a>
			
			<% if (i%2==1 || i==laboratory.size()-1){ %></li></ul><% } %>
			<% } %>
			</div>
			<script type="text/javascript">
				limitCharacterLength(".lab_item_right>small",20);
			</script>
			
			
			<!-- mainarea_retail -->

		</div>
		<!-- mainarea -->
      </div>
	  <!-- left -->
	  
	  <%@ include file="index_right.jsp" %>
	  </div>
	  <!-- content -->
    </div>
	<!-- center_shadow -->
<div class="footer_shadow"></div>

<%@ include file="footer.jsp" %>

</div>
<!-- main -->

</div>

</body>
</html>
